tooltip {
  &.background {
    // background-color needs to be set this way otherwise it gets drawn twice
    // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
    background-color: transparentize(black, 0.2);
    background-clip: padding-box;
    border: 1px solid $tooltip_border_color; // this subtle border is meant to
                                              // not make the tooltip melt with
                                              // very dark backgrounds
    color: white;
  }

  padding: $base_padding $base_padding + $base_margin;
  border-radius: $base_padding * 1.5;
  box-shadow: none; // otherwise it gets inherited by windowframe.csd

  > box {
    border-spacing: $base_padding;
  }
}
